Retrieving the currently displayed image
code:js
var image = new Image();
image.id = "foo"
image.src = canvas.toDataURL();
document.getElementById('bar').appendChild(image);
---
This page is auto-translated from /nishio/今表示している画像の取得. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I'm very happy to spread my thought to non-Japanese readers.